﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="deleteappllylist.aspx.cs"
    Inherits="tset2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        <!
        -- body, td, th
        {
            font-size: 12px;
            color: #000000;
        }
        body
        {
            background-color: #CCCCCC;
            background-image: url(pic/hudie.jpg);
            background-repeat: repeat;
        }
        -- ></style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="barTopSpace">
    </div>
    <div class="bar">
    </div>
    <div>
        <table border="1" style="width: 800px; height: 345px">
            <tr>
                <th scope="col" class="style2">
                    &nbsp; 取消申请单</th>
            </tr>
            <tr>
                <td class="style1">
                    <table width="480" border="1" align="center">
                        <tr>
                            <th width="35%" scope="col" align="right">
                                <asp:Label ID="Label1" runat="server" Text="申请单号："></asp:Label>
                            </th>
                            <th width="35%" scope="col" align="left">
                                <asp:DropDownList ID="ddl1" runat="server" Height="30px" Width="150px" DataTextField="id">
                                </asp:DropDownList>
                            </th>
                            <th scope="col">
                                &nbsp;
                            </th>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td width="35%" scope="col" align="right">
                                <asp:Label ID="Label2" runat="server" Text="起始日期：" Font-Bold="True"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Tdata" runat="server" Width="150px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Button ID="Button1" runat="server" Text="选择" Width="40px" OnClick="Button1_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td width="35%" scope="col" align="right">
                                <asp:Label ID="Label3" runat="server" Text="截止日期：" Font-Bold="True"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Tdata1" runat="server" Width="150px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Button ID="Button2" runat="server" Text="选择" OnClick="Button2_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td width="35%" scope="col" align="right">
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td width="35%" colspan="3" align="center">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="bton" runat="server" Text="查询" Font-Bold="True" Width="55px" OnClick="bton_Click" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="btoff" runat="server" Text="取消" Font-Bold="True" Width="52px" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Panel ID="P2" runat="server" Visible="false">
                        <div style="z-index: 101; left: 575px; width: 160px; top: 89px; position: absolute;
                            border: #3366ff 1px dotted; background-color: white; height: 156px; padding: 10px;">
                            跳转到<asp:DropDownList ID="Drop_yuar" runat="server" AutoPostBack="True" OnSelectedIndexChanged="Drop_yuar_SelectedIndexChanged">
                                <asp:ListItem>2005</asp:ListItem>
                                <asp:ListItem>2006</asp:ListItem>
                                <asp:ListItem>2007</asp:ListItem>
                                <asp:ListItem>2008</asp:ListItem>
                                <asp:ListItem>2009</asp:ListItem>
                                <asp:ListItem>2010</asp:ListItem>
                                <asp:ListItem>2011</asp:ListItem>
                                <asp:ListItem>2012</asp:ListItem>
                            </asp:DropDownList>
                            年<asp:Calendar ID="Calendar1" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66"
                                DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399"
                                Height="174px" Width="199px" BorderWidth="1px" ShowGridLines="True" OnSelectionChanged="Calendar1_SelectionChanged">
                                <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                                <SelectorStyle BackColor="#FFCC66" />
                                <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                                <OtherMonthDayStyle ForeColor="#CC9966" />
                                <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                                <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                                <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
                            </asp:Calendar>
                        </div>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td class="style2" align="center">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
                        OnRowDeleting="GridView1_RowDeleting" 
                        OnSelectedIndexChanged="GridView1_SelectedIndexChanged" CellPadding="4" 
                        ForeColor="#333333" GridLines="None">
                        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#E3EAEB" />
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="申请单号" />
                            <asp:BoundField DataField="opeartor_id" HeaderText="申请人" />
                            <asp:BoundField DataField="appllytime" HeaderText="申请时间" />
                            <asp:BoundField DataField="lend_id" HeaderText="借用人" />
                            <asp:BoundField DataField="status" HeaderText="状态" />
                            <asp:BoundField DataField="note" HeaderText="备注" />
                            <asp:CommandField ShowDeleteButton="True" />
                        </Columns>
                        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <EditRowStyle BackColor="#7C6F57" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
